package com.chinasofti.etc.alcohol.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lucas
 * @since 2019-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommodityCart implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "commodity_cart_id", type = IdType.AUTO)
    private Integer commodityCartId;

    /**
     * 用户账号
     */
    private int userId;

    /**
     * 商品编号
     */
    private int commodityId;

    /**
     * 商品数量
     */
    private Integer number;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 商品主图
     */
    private String commodityMainImg;


}
